package com.bang.study.config;

import com.bang.study.bean.Color;
import com.bang.study.bean.LifeCode02;
import com.bang.study.bean.Person;
import com.bang.study.bean.Red;
import com.bang.study.condition.LinuxCondition;
import com.bang.study.condition.WindowsCondition;
import com.bang.study.selector.MyFactoryBean;
import com.bang.study.selector.MyImportBeanDefinitionRegistrar;
import com.bang.study.selector.MyImportSelector;
import org.springframework.context.annotation.*;

/**
 * @Auther: Bang
 * @Date: 2020/7/29 22:47
 * @Description: <p>
 * 配置类
 * </p>
 */
@Configuration
@ComponentScan("com.bang.study.circle")
public class AppConfig3 {


    @Bean
    public Red red() {
        return new Red();
    }

}
